package com.bilin.coin.activity;

import android.widget.LinearLayout;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.bilin.coin.R;
import com.bilin.coin.common.base.BaseAppCompatActivity;
import com.bilin.coin.list.DigToolsList;

import butterknife.BindView;

@Route(path = "/auction/DigToolsActivity")
public class DigToolsActivity extends BaseAppCompatActivity {

    @BindView(R.id.ll_main)
    LinearLayout ll_main;

    DigToolsList digToolsList;

    @Override
    protected void initView() {
        setTitle("我的挖矿工具");
        //setMenu("挖矿记录");
        digToolsList = new DigToolsList(this);
        digToolsList.refresh(true);
        ll_main.addView(digToolsList.getRootView(), new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT));
    }

    @Override
    public void setMenuOnClickListener() {
        super.setMenuOnClickListener();
        baseStartActivity("/auction/DigRecordActivity");
    }

    @Override
    protected void initData() {

    }

    @Override
    protected int getLayoutId() {
        return R.layout.common_layout;
    }
}
